<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>期货学院--详情</title>
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/reset.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/swiper_2.7.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/header.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/footer.css">
    <link rel="stylesheet" href="{{$static_path}}/static/css/dh/detail_dh.css">
    <link rel="stylesheet" href="{{$static_path}}/static/common/css/common.css">
    <script src="{{$static_path}}/static/common/js/jquery-1.11.3.js"></script>
</head>

<body>
    <!-- 头部部分 -->
    {{include file="header.tpl"}}
    <!-- 内容区域 -->
    <div class="dh-main">
        <div class="college-banner"></div>
        <div class="main-content">
            <div class="main-left">
                <div class="dh-top1">
                    <p class="h-top">期货学院</p>
                </div>
                <ul class="dh-list">
                    {{navigation parentid="8"}}
                        {{foreach $list as $k => $v}}
                            <li> <a href="{{$v['url']}}" {{if $get.category|in_array:$v['allchildurl']}}class="dh-acitve"{{/if}}>{{$v['name']}}</a></li>
                        {{/foreach}}
                    {{/navigation}}
                </ul>
            </div>
            <div class="main-right">
                {{crumbs url=$smarty.get.category}}
                <div class="right-txt-box">
                    <h1>{{$title}}</h1>
                    <div class="wz">
                        <span class="wz-spans">ff您的位置：<a href="/">首页</a> > {{$crumbs}} </span>
                    </div>
                </div>
                {{/crumbs}}
                {{details}}
                <div class="detail-content">
                    <h1>{{$title}}</h1>
                    <p class="title-ps">
                        <span class="title-p1"><em>上传日期：{{$add_time}}</em></span>
                        <span class="title-p1" style="margin-left: 20px"><em>观看量：{{$pc_count}}</em></span>
                        {{if $source != ''}}<span class="title-p2">来源：<em>{{$source}}</em></span>{{/if}}
                        {{if $author != ''}}<span class="title-p3">作者：<em>{{$author}}</em></span>{{/if}}
                    </p>
                    <div class="detail-content-txt">
                        <!-- <img src="../static/images/details_img/detail_img.png" alt=""> -->
                        <video class="detail-video" src="{{if $attr != []}}{{$attr[0]['attr_value']}}{{/if}}" preload="auto" controls="controls" autopaly></video>
                        <!-- <p>以“自信、和谐、感恩、快乐”的企业文化指导团队建设，坚持“快乐工作、快乐生活”，拥有朝气蓬勃、团结奋斗的团队。自年成立以来，经历风雨后，终获彩虹，获得一项项荣誉，得到了客户的信任和支持。
                        </p> -->
                        <ul class="main_footer" style="height: auto">
                            <li>
                                <a href="{{$prev.url}}">上一篇
                                    <p>{{$prev.title}}</p></a>

                                <span style="width: 150px">{{$prev.add_time}}</span>
                            </li>
                            <li>
                                <a href="{{$next.url}}">下一篇
                                    <p>{{$next.title}}</p></a>

                                <span style="width: 150px">{{$prev.add_time}}</span>
                            </li>
                        </ul>
                    </div>
                </div>
                {{/details}}
                <div>
                </div>

            </div>

        </div>


    </div>

    <!--放一个id为footer的div,把footer.html加载到这块-->
    {{include file="footer.tpl"}}
    <!-- 底部部分 -->
</body>

<script type="text/javascript">
    $(".detail-video")[0].play();
</script>

</html>